package com.traffic.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 证件借还对象 per_document_management
 * 
 * @author 郭世纪
 * @date 2024-12-08
 */
public class PerDocumentManagement extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 证件记录ID */
    private Long documentId;

    /** 员工ID，关联员工信息表 */
    private String employeeId;

    /** 员工姓名 */
    @Excel(name = "员工姓名")
    private String employeeName;

    /** 证件编号 */
    @Excel(name = "证件编号")
    private String documentNumber;

    /** 证件签发日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "证件签发日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date issueDate;

    /** 证件有效期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "证件有效期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date expiryDate;

    /** 证件状态 */
    @Excel(name = "证件状态")
    private String status;

    /** 归档日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "归档日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date archiveDate;

    /** 领取日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "领取日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date retrieveDate;

    /** 归还日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "归还日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date returnDate;

    /** 预计返回日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "预计返回日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date estimatedReturnDate;

    /** 备注信息 */
    @Excel(name = "备注信息")
    private String notes;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date creatTime;

    public void setDocumentId(Long documentId) 
    {
        this.documentId = documentId;
    }

    public Long getDocumentId() 
    {
        return documentId;
    }
    public void setEmployeeId(String employeeId) 
    {
        this.employeeId = employeeId;
    }

    public String getEmployeeId() 
    {
        return employeeId;
    }
    public void setEmployeeName(String employeeName) 
    {
        this.employeeName = employeeName;
    }

    public String getEmployeeName() 
    {
        return employeeName;
    }
    public void setDocumentNumber(String documentNumber) 
    {
        this.documentNumber = documentNumber;
    }

    public String getDocumentNumber() 
    {
        return documentNumber;
    }
    public void setIssueDate(Date issueDate) 
    {
        this.issueDate = issueDate;
    }

    public Date getIssueDate() 
    {
        return issueDate;
    }
    public void setExpiryDate(Date expiryDate) 
    {
        this.expiryDate = expiryDate;
    }

    public Date getExpiryDate() 
    {
        return expiryDate;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setArchiveDate(Date archiveDate) 
    {
        this.archiveDate = archiveDate;
    }

    public Date getArchiveDate() 
    {
        return archiveDate;
    }
    public void setRetrieveDate(Date retrieveDate) 
    {
        this.retrieveDate = retrieveDate;
    }

    public Date getRetrieveDate() 
    {
        return retrieveDate;
    }
    public void setReturnDate(Date returnDate) 
    {
        this.returnDate = returnDate;
    }

    public Date getReturnDate() 
    {
        return returnDate;
    }
    public void setEstimatedReturnDate(Date estimatedReturnDate) 
    {
        this.estimatedReturnDate = estimatedReturnDate;
    }

    public Date getEstimatedReturnDate() 
    {
        return estimatedReturnDate;
    }
    public void setNotes(String notes) 
    {
        this.notes = notes;
    }

    public String getNotes() 
    {
        return notes;
    }
    public void setCreatTime(Date creatTime) 
    {
        this.creatTime = creatTime;
    }

    public Date getCreatTime() 
    {
        return creatTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("documentId", getDocumentId())
            .append("employeeId", getEmployeeId())
            .append("employeeName", getEmployeeName())
            .append("documentNumber", getDocumentNumber())
            .append("issueDate", getIssueDate())
            .append("expiryDate", getExpiryDate())
            .append("status", getStatus())
            .append("archiveDate", getArchiveDate())
            .append("retrieveDate", getRetrieveDate())
            .append("returnDate", getReturnDate())
            .append("estimatedReturnDate", getEstimatedReturnDate())
            .append("notes", getNotes())
            .append("creatTime", getCreatTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
